import os
from celery import Celery
from auto_dj_test import settings


os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'auto_dj_test.settings')

app = Celery('AweiRunner')
app.config_from_object(settings)

app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
